package com.hospital.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.hospital.enumeration.Gender;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class Doctor {
    @TableId(type = IdType.AUTO)
    private Long doctorId;
    private String name;
    private Gender gender;
    private String title;
    private String phoneNumber;
    private Long deptId;
    private Integer currentPatientCount;
    private Integer maxPatientCount;
}
